package com.blb.zy_community.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 报修信息
 * </p>
 *
 * @author 二组
 * @since 2023-06-18
 */
@TableName("zy_repair")
public class ZyRepair implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 报修ID
     */
    @TableId(value = "repair_id", type = IdType.AUTO)
    private Long repairId;

    /**
     * 报修编号
     */
    private String repairNum;

    /**
     * 报修状态
     */
    private String repairState;

    /**
     * 派单时间
     */
    private LocalDateTime assignmentTime;

    /**
     * 接单时间
     */
    private LocalDateTime receivingOrdersTime;

    /**
     * 处理完成时间
     */
    private LocalDateTime completeTime;

    /**
     * 取消时间
     */
    private LocalDateTime cancelTime;

    /**
     * 期待上门时间
     */
    private LocalDateTime doorTime;

    /**
     * 分派人id
     */
    private Long assignmentId;

    /**
     * 处理人id
     */
    private Long completeId;

    /**
     * 处理人电话
     */
    private String completePhone;

    /**
     * 处理人姓名
     */
    private String completeName;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建者
     */
    private String createBy;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新者
     */
    private String updateBy;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 创建人id
     */
    private Long userId;

    /**
     * 删除状态0默认1删除
     */
    private Integer delFlag;

    /**
     * 报修内容
     */
    private String repairContent;

    /**
     * 小区ID
     */
    private Long communityId;

    /**
     * 详细地址
     */
    private String address;
    /**
     * 保修业主真实姓名
     */
    @TableField(exist = false)
    private String ownerRealName;

    /**
     * 保修业主电话号码
     */
    @TableField(exist = false)
    private String ownerPhoneNumber;

    public Long getRepairId() {
        return repairId;
    }

    public void setRepairId(Long repairId) {
        this.repairId = repairId;
    }

    public String getRepairNum() {
        return repairNum;
    }

    public void setRepairNum(String repairNum) {
        this.repairNum = repairNum;
    }

    public String getRepairState() {
        return repairState;
    }

    public void setRepairState(String repairState) {
        this.repairState = repairState;
    }

    public LocalDateTime getAssignmentTime() {
        return assignmentTime;
    }

    public void setAssignmentTime(LocalDateTime assignmentTime) {
        this.assignmentTime = assignmentTime;
    }

    public LocalDateTime getReceivingOrdersTime() {
        return receivingOrdersTime;
    }

    public void setReceivingOrdersTime(LocalDateTime receivingOrdersTime) {
        this.receivingOrdersTime = receivingOrdersTime;
    }

    public LocalDateTime getCompleteTime() {
        return completeTime;
    }

    public void setCompleteTime(LocalDateTime completeTime) {
        this.completeTime = completeTime;
    }

    public LocalDateTime getCancelTime() {
        return cancelTime;
    }

    public void setCancelTime(LocalDateTime cancelTime) {
        this.cancelTime = cancelTime;
    }

    public LocalDateTime getDoorTime() {
        return doorTime;
    }

    public void setDoorTime(LocalDateTime doorTime) {
        this.doorTime = doorTime;
    }

    public Long getAssignmentId() {
        return assignmentId;
    }

    public void setAssignmentId(Long assignmentId) {
        this.assignmentId = assignmentId;
    }

    public Long getCompleteId() {
        return completeId;
    }

    public void setCompleteId(Long completeId) {
        this.completeId = completeId;
    }

    public String getCompletePhone() {
        return completePhone;
    }

    public void setCompletePhone(String completePhone) {
        this.completePhone = completePhone;
    }

    public String getCompleteName() {
        return completeName;
    }

    public void setCompleteName(String completeName) {
        this.completeName = completeName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public String getRepairContent() {
        return repairContent;
    }

    public void setRepairContent(String repairContent) {
        this.repairContent = repairContent;
    }

    public Long getCommunityId() {
        return communityId;
    }

    public void setCommunityId(Long communityId) {
        this.communityId = communityId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getOwnerRealName() {
        return ownerRealName;
    }

    public void setOwnerRealName(String ownerRealName) {
        this.ownerRealName = ownerRealName;
    }

    public String getOwnerPhoneNumber() {
        return ownerPhoneNumber;
    }

    public void setOwnerPhoneNumber(String ownerPhoneNumber) {
        this.ownerPhoneNumber = ownerPhoneNumber;
    }

    @Override
    public String toString() {
        return "ZyRepair{" +
                "repairId=" + repairId +
                ", repairNum='" + repairNum + '\'' +
                ", repairState='" + repairState + '\'' +
                ", assignmentTime=" + assignmentTime +
                ", receivingOrdersTime=" + receivingOrdersTime +
                ", completeTime=" + completeTime +
                ", cancelTime=" + cancelTime +
                ", doorTime=" + doorTime +
                ", assignmentId=" + assignmentId +
                ", completeId=" + completeId +
                ", completePhone='" + completePhone + '\'' +
                ", completeName='" + completeName + '\'' +
                ", remark='" + remark + '\'' +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime=" + updateTime +
                ", userId=" + userId +
                ", delFlag=" + delFlag +
                ", repairContent='" + repairContent + '\'' +
                ", communityId=" + communityId +
                ", address='" + address + '\'' +
                ", ownerRealName='" + ownerRealName + '\'' +
                ", ownerPhoneNumber='" + ownerPhoneNumber + '\'' +
                '}';
    }
}
